@echo off
echo Case 1:
test.exe -cf C:\A
echo.

echo Case 2:
mkdir c:\B\C
test.exe -cf c:\B\C\D
echo.

echo Case 3:
mkdir c:\e\f\g
test.exe -cf C:\e\f\g\SuperMegaLengthSecretFolderThatContainsSecretInformation
echo.

pause